<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Cost (infer.Costlib.Cost)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – <a href="../../index.html">infer</a> &#x00BB; <a href="../index.html">Costlib</a> &#x00BB; Cost</nav><header class="odoc-preamble"><h1>Module <code><span>Costlib.Cost</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-checker"><a href="#val-checker" class="anchor"></a><code><span><span class="keyword">val</span> checker : 
  <span><span><span>(<span><a href="../CostDomain/index.html#type-summary">CostDomain.summary</a> option</span>
   * <span><a href="../../BO/BufferOverrunAnalysisSummary/index.html#type-t">BO.BufferOverrunAnalysisSummary.t</a> option</span>
   * <span><a href="../../Checkers/PurityDomain/index.html#type-summary">Checkers.PurityDomain.summary</a> option</span>)</span>
    <a href="../../Absint/InterproceduralAnalysis/index.html#type-t">Absint.InterproceduralAnalysis.t</a></span> <span class="arrow">&#45;&gt;</span></span>
  <span><a href="../CostDomain/index.html#type-summary">CostDomain.summary</a> option</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-instantiate_cost"><a href="#val-instantiate_cost" class="anchor"></a><code><span><span class="keyword">val</span> instantiate_cost : 
  <span><span class="optlabel">?get_closure_callee_cost</span>:
    <span>(<span><a href="../../IR/Procname/index.html#type-t">IR.Procname.t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../CostDomain/BasicCostWithReason/index.html#type-t">CostDomain.BasicCostWithReason.t</a> option</span>)</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">default_closure_cost</span>:<a href="../../BO/Ints/NonNegativeInt/index.html#type-t">BO.Ints.NonNegativeInt.t</a> <span class="arrow">&#45;&gt;</span></span>
  <span><a href="../../IR/IntegerWidths/index.html#type-t">IR.IntegerWidths.t</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">inferbo_caller_mem</span>:<a href="../../BO/BufferOverrunDomain/Mem/index.html#type-t">BO.BufferOverrunDomain.Mem.t</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">callee_pname</span>:<a href="../../IR/Procname/index.html#type-t">IR.Procname.t</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">callee_formals</span>:<span><span>(<a href="../../IR/Pvar/index.html#type-t">IR.Pvar.t</a> * <a href="../../IR/Typ/index.html#type-t">IR.Typ.t</a>)</span> list</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">args</span>:<span><span>(<a href="../../IR/Exp/index.html#type-t">IR.Exp.t</a> * <a href="../../IR/Typ/index.html#type-t">IR.Typ.t</a>)</span> list</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">captured_vars</span>:
    <span><span>(<a href="../../IR/Exp/index.html#type-t">IR.Exp.t</a> * <a href="../../IR/Pvar/index.html#type-t">IR.Pvar.t</a> * <a href="../../IR/Typ/index.html#type-t">IR.Typ.t</a> * <a href="../../IR/CapturedVar/index.html#type-capture_mode">IR.CapturedVar.capture_mode</a>)</span> list</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">callee_cost</span>:<a href="../CostDomain/BasicCostWithReason/index.html#type-t">CostDomain.BasicCostWithReason.t</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">loc</span>:<a href="../../IBase/Location/index.html#type-t">IBase.Location.t</a> <span class="arrow">&#45;&gt;</span></span>
  <a href="../CostDomain/BasicCostWithReason/index.html#type-t">CostDomain.BasicCostWithReason.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-is_report_suppressed"><a href="#val-is_report_suppressed" class="anchor"></a><code><span><span class="keyword">val</span> is_report_suppressed : <span><a href="../../IR/Procname/index.html#type-t">IR.Procname.t</a> <span class="arrow">&#45;&gt;</span></span> bool</span></code></div></div></div></body></html>
